package com.xbongbong.pro.detailtab.pojo.team;

import lombok.Getter;
import lombok.Setter;

/**
 * @author: 汪腾伟
 * @date: Created in 2021/12/23 16:32
 * @description： 团队成员用于返回的实体
 */
@Getter
@Setter
public class TeamUserPojo {
    /**
     * 主键id
     */
    private Long id;

    /**
     * 用户id
     */
    private String userId;

    /**
     * 用户名
     */
    private String userName;

    /**
     * 头像
     */
    private String userAvatar;

    /**
     * 代表成员权限（可编辑、可读）
     */
    private Integer formPermission;

    /**
     * 代表表单设计里面的协同人可编辑权限的值（可编辑、可读）
     */
    private Integer formSetFormPermission;

    /**
     * 该用户是否离职
     */
    private Integer del;

    public TeamUserPojo() {
    }

    public TeamUserPojo(Long id, String userId, String userName, String userAvatar, Integer formPermission, Integer formSetFormPermission,Integer del) {
        this.id = id;
        this.userId = userId;
        this.userName = userName;
        this.userAvatar = userAvatar;
        this.formPermission = formPermission;
        this.formSetFormPermission = formSetFormPermission;
        this.del = del;
    }
}
